package ArrayList;

import java.util.ArrayList;

public class Demo {
    public static void main(String[] args) {
        ArrayList<String> List = new ArrayList();
        List.add("little");
        List.add("fart");
        List.add("duck");

        int size =List.size();
        for (int i = 0 ; i < size ; i++){
            Object o = List.get(i);
            System.out.println(o);
        }
    }
}
